#include <iostream>
#include <string>
using namespace std;

template<class T = int>
T multiply(T t1, T t2) {
    return t1 * t2;
}

template <class T = int>
class Point{
public:
    Point(T x = 0, T y = 0):x(x),y(y){}

    string toString(){
        return "x = " + to_string(x) + "y = " + to_string(y);
    }

private:
    T x;
    T y;
};


int main() {
    Point<double> point(1.414, 1.732);
    cout << point.toString() << endl;

    cout << multiply(1.3, 2.8) << endl;

    return 0;
}
